package com.jy.api.service.impl;

import com.jy.api.dao.FDailyMemberStaticsDao;
import com.jy.api.domain.FDailyMemberStatics;
import com.jy.api.service.FDailyMemberStaticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by xiaohua on 2018/9/28.
 */
@Service
public class FDailyMemberStaticsServiceImp implements FDailyMemberStaticsService {

    @Autowired
    private FDailyMemberStaticsDao fDailyMemberStaticsDao;


    @Override
    public List<FDailyMemberStatics> queryByStoreId(String storeId) {
        return fDailyMemberStaticsDao.findByStoreIdOrderByBizdateDesc(storeId);
    }
}
